import request from'../utils/HTTP.js';

const API_URL = '/clubs';

export const getClubsApi = () => {
  return request({
    url: API_URL,
    method: 'GET',
  });
};

export const getClubDetailApi = (id) => {
  return request( {
    url: `API_URL/${id}`,
    method: 'GET',
  });
};